<template>
	<view>
		
	</view>
</template>

<script>
	import mymixins from '../../mixin/index.js'
	import { mapGetters } from 'vuex'
	export default {
		mixins: [mymixins],
		computed: {
		      ...mapGetters('cart', ['total'])
		    },
		data() {
			return {
				
			};
		},
		onShow() {
  // 设置 tabBar 右上角的徽标
  uni.setTabBarBadge({
    index: 2,
    text: this.total + ''
  })
}

	}
</script>

<style lang="scss">

</style>
